<%
	String username = session.getAttribute("username").toString();
	session.removeAttribute("username");
	Cookie[] cookie = request.getCookies();
	for(int i = 0; i < cookie.length; i++ ) {
		if(cookie[i].getValue().equals(username)) {
			cookie[i].setMaxAge(-1);
		}
	}
	response.sendRedirect("index.jsp");
%>